package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("app_auth_user")
public class AppAuthUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String authNameEn;//名称
    private Integer status;//1待审核 2已通过 3驳回
    private String image;//图片
    private String image2;//图片
    private String field1; //学历
    private String field2; //车辆品牌
    private String rejectReason;
    private Date createTime;

    @TableField(exist = false)
    private AppUser user;
}
